﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MainPage.aspx.cs" Inherits="AnalyseCRM.MainPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>证券智能营销分析系统首页</title>
    <link href="Styles/index.css" rel="stylesheet" type="text/css" />
    <!-- 下拉菜单美化 -->
    <script type="text/javascript" src="Scripts/jquery.js"></script>
    <script type="text/javascript" src="Scripts/divselect.js"></script>
    <script type="text/javascript" src="Scripts/iframe.js"></script>
    <script type="text/javascript">
        $(function () {
            $.divselect("#divselect", "#inputselect");
            var deptwin = window;
            deptwin.moveTo(0, 0);
            deptwin.resizeTo(window.screen.availWidth, window.screen.availHeight);           
        });
    </script>
    <!-- 下拉菜单美化end -->
    <!-- dd menu -->
    <script type="text/javascript">
    <!--
        var timeout = 500;
        var closetimer = 0;
        var ddmenuitem = 0;

        // open hidden layer
        function mopen(id) {
            // cancel close timer
            mcancelclosetime();
            
            // close old layer
            if (ddmenuitem) ddmenuitem.style.visibility = 'hidden';

            // get new layer and show it
            ddmenuitem = document.getElementById(id);
            ddmenuitem.style.visibility = 'visible';

        }
        // close showed layer
        function mclose() {
            if (ddmenuitem) ddmenuitem.style.visibility = 'hidden';
        }

        // go close timer
        function mclosetime() {
            closetimer = window.setTimeout(mclose, timeout);
        }

        // cancel close timer
        function mcancelclosetime() {
            if (closetimer) {
                window.clearTimeout(closetimer);
                closetimer = null;
            }
        }

        // close layer when click-out
        document.onclick = mclose;

        function closeapp() {
            window.opener = null;
            window.open("", "_self");
            window.close();
        }
        function relogon() {
            document.location = '/Logon.aspx';
        }
    // -->
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="indextop">
        <div class="indextopleft">
            <img alt="" src="Images/logo_03.png" width="44" height="44" /><a>证券智能营销分析系统(SMSS)</a></div>
        <div class="indextopright">
            <ul>
                <li class="exit"><a href="javascript:void(0);" onclick="javascript:relogon();">退出</a></li>
                <li class="admin">admin</li>
            </ul>
        </div>
    </div>
    <div>
        <ul id="sddm">
            <li><a class="Operation" onmouseover="mopen('m1')" 
                                     onmouseout="mclosetime()">经营情况</a>
                <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
                    <a href="Operation/CompanysOverall.aspx" target="menuFrame">公司总体经营情况</a>
                    <a href="Operation/CustomerChannel.aspx" target="menuFrame">客户渠道经营情况</a> 
                    <a href="Operation/BusinessDepartment.aspx" target="menuFrame">各营业部经营情况</a>
                </div>
            </li>
            <li><a class="jiaoyi" href="Operation/TradingChannelsAnalyse.aspx" target="menuFrame">交易渠道分析</a></li>
            <li><a class="Product" href="Operation/ProductAllAnalyse.aspx" target="menuFrame">产品分析</a></li>
            <li class="meunxu"></li>
            <li><a class="User" href="Operation/UserTransaction.aspx" target="menuFrame">用户交易行为</a></li>
            <li><a class="newuser" href="Operation/NewCustom.aspx" target="menuFrame">新客户分析</a></li>
            <li><a class="Air" href="Operation/EmptyCustomer.aspx" target="menuFrame">空户分析</a></li>
            <li class="meunxu"></li>
            <li><a class="kehu" href="Operation/CustomerClustering.aspx" target="menuFrame">客户分群分析</a></li>
            <li><a class="Outflow" href="Operation/TheLossWarning.aspx" target="menuFrame">客户流失预警分析</a></li>
            <li class="meunxu"></li>
            <li><a class="View" href="Operation/CustomerView.aspx" target="menuFrame">客户视图</a></li>
            <li><a class="OLAP" href="javascript:void(0);">OLAP功能</a></li>
            <li><a class="Sale" href="Operation/MarketingManagement.aspx" target="menuFrame">市场营销</a></li>
            <li class="meunxu"></li>
            <li><a class="Assets" href="Operation/StandardCustomerEstimat.aspx" target="menuFrame">标准户资产估算</a></li>
            <li><a class="Survey" href="javascript:void(0);">调查问卷管理</a></li>
        </ul>
    </div>
    <div class="wrapper">
        <!--风格一，sharp color1-->
        <div class="iframe">
            <iframe id="menuFrame" name="menuFrame" scrolling="no" src="Operation/CompanysOverall.aspx"
                    frameborder="0" onload="iFrameHeight()" width="100%">
            </iframe>
            <script type="text/javascript" language="javascript">
                function iFrameHeight() {
                    var ifm = document.getElementById("menuFrame");
                    var subWeb = document.frames ? document.frames["menuFrame"].document : ifm.contentDocument;
                    if (ifm != null && subWeb != null) {
                        ifm.height = subWeb.body.scrollHeight;
                    }
                } 
            </script> 
        </div>        
    </div>
<%--    <div class="foot">
            <a>版权所有：深圳华策略科技有限公司</a></div>--%>
    </form>
</body>
</html>
